package com.msb.mall.product.fegin;

import com.msb.common.dao.SkuReductionDTO;
import com.msb.common.dao.SpuBoundsDTO;
import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @Auther: xixifeng
 * @Date: 2022/10/6 - 10 - 06 - 16:16
 * @Description: com/static/search/msb/static/search/mall/static/search/product/static/search/fegin
 * @version: 1/static/search/0
 */
@FeignClient("mall-coupon")
public interface couponFeginService {

    @PostMapping("/coupon/skufullreduction/saveinfo")
    R saveFullReductionInfo(@RequestBody SkuReductionDTO skuReductionDTO);

    @RequestMapping("/coupon/spubounds/saveSpuBounds")
        //@RequiresPermissions("coupon:spubounds:save")
    R saveSpuBounds(@RequestBody SpuBoundsDTO spuBounds);
}
